package com.syq.exceptions;

/**
 * @author Sun Yueqi
 * @version 1.00
 * @time 2022/5/25 20:31
 */
public class BaseException extends RuntimeException{
    private int code;

    public BaseException(String message,int code){
        super(message);
        this.code=code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
